
/**
 * 所有业务用到的路由都要在这里配置，配置规则：路由地址-组件，不允许动态根据路径一次性加载（扫描方式），
 * 因为这种只能看代码结构才能知道路由地址是什么，不利于后期维护
 */
let routerMap = new Map([
  //这个路由特殊，给amis动态json渲染用
  ['AMIS', () => import('@/components/AMISDynamicSchema.vue')],


  ['/dict', () => import('@/views/dict/index.vue')],
  ['/user', () => import('@/views/user/index.vue')],
  ['/user/online', () => import('@/views/user/online.vue')],
  ['/role', () => import('@/views/role/index.vue')],
  ['/menu', () => import('@/views/menu/index.vue')],
  ['/district', () => import('@/views/district/index.vue')],
  ['/log/login', () => import('@/views/log/login.vue')],
  ['/log/operation', () => import('@/views/log/operation.vue')],
  ['/region', () => import('@/views/region/index.vue')],
  ['/org/entp', () => import('@/views/org/entp/index.vue')],
  ['/org/entp/apply', () => import('@/views/org/entp/apply/index.vue')],
  ['/org/hosp', () => import('@/views/org/hosp/index.vue')],
  ['/org/nhsa', () => import('@/views/org/nhsa/index.vue')],
  ['/system', () => import('@/views/system/index.vue')],
]);

export default routerMap;